target=liboop_base.a
sources=$(wildcard *.c)
objects=$(subst .c,.o,$(sources))

AR:=ar
CC:=gcc
CFLAGS+=-std=c99# -g

all:$(target)

$(target):$(objects)
	$(AR) r $@ $^

clean:
	-rm $(target)
	-rm $(objects)
